package com.hzf.designer.dao.model;

import java.io.Serializable;

public class DneedsDemandWlt implements Serializable {
    private Integer id;

    private Integer demandId;

    /**
     * 物料图
     *
     * @mbg.generated
     */
    private String wuliaotu;

    /**
     * 物料图1
     *
     * @mbg.generated
     */
    private String wuliaotu5;

    /**
     * 物料图2
     *
     * @mbg.generated
     */
    private String wuliaotu2;

    /**
     * 物料图3
     *
     * @mbg.generated
     */
    private String wuliaotu3;

    /**
     * 物料图4
     *
     * @mbg.generated
     */
    private String wuliaotu4;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDemandId() {
        return demandId;
    }

    public void setDemandId(Integer demandId) {
        this.demandId = demandId;
    }

    public String getWuliaotu() {
        return wuliaotu;
    }

    public void setWuliaotu(String wuliaotu) {
        this.wuliaotu = wuliaotu;
    }

    public String getWuliaotu5() {
        return wuliaotu5;
    }

    public void setWuliaotu5(String wuliaotu5) {
        this.wuliaotu5 = wuliaotu5;
    }

    public String getWuliaotu2() {
        return wuliaotu2;
    }

    public void setWuliaotu2(String wuliaotu2) {
        this.wuliaotu2 = wuliaotu2;
    }

    public String getWuliaotu3() {
        return wuliaotu3;
    }

    public void setWuliaotu3(String wuliaotu3) {
        this.wuliaotu3 = wuliaotu3;
    }

    public String getWuliaotu4() {
        return wuliaotu4;
    }

    public void setWuliaotu4(String wuliaotu4) {
        this.wuliaotu4 = wuliaotu4;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", demandId=").append(demandId);
        sb.append(", wuliaotu=").append(wuliaotu);
        sb.append(", wuliaotu5=").append(wuliaotu5);
        sb.append(", wuliaotu2=").append(wuliaotu2);
        sb.append(", wuliaotu3=").append(wuliaotu3);
        sb.append(", wuliaotu4=").append(wuliaotu4);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DneedsDemandWlt other = (DneedsDemandWlt) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getDemandId() == null ? other.getDemandId() == null : this.getDemandId().equals(other.getDemandId()))
            && (this.getWuliaotu() == null ? other.getWuliaotu() == null : this.getWuliaotu().equals(other.getWuliaotu()))
            && (this.getWuliaotu5() == null ? other.getWuliaotu5() == null : this.getWuliaotu5().equals(other.getWuliaotu5()))
            && (this.getWuliaotu2() == null ? other.getWuliaotu2() == null : this.getWuliaotu2().equals(other.getWuliaotu2()))
            && (this.getWuliaotu3() == null ? other.getWuliaotu3() == null : this.getWuliaotu3().equals(other.getWuliaotu3()))
            && (this.getWuliaotu4() == null ? other.getWuliaotu4() == null : this.getWuliaotu4().equals(other.getWuliaotu4()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getDemandId() == null) ? 0 : getDemandId().hashCode());
        result = prime * result + ((getWuliaotu() == null) ? 0 : getWuliaotu().hashCode());
        result = prime * result + ((getWuliaotu5() == null) ? 0 : getWuliaotu5().hashCode());
        result = prime * result + ((getWuliaotu2() == null) ? 0 : getWuliaotu2().hashCode());
        result = prime * result + ((getWuliaotu3() == null) ? 0 : getWuliaotu3().hashCode());
        result = prime * result + ((getWuliaotu4() == null) ? 0 : getWuliaotu4().hashCode());
        return result;
    }
}